﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Shared/Shared.master"
    CodeFile="leaderAdd.aspx.cs" Inherits="ltMan_leaders_leaderAdd" %>

<asp:Content ID="C1" ContentPlaceHolderID="head" runat="Server">
    <style>
        .container
        {
            overflow: auto;
        }
    </style>
</asp:Content>
<asp:Content ID="C2" ContentPlaceHolderID="CPH1" runat="Server">
    <telerik:RadAjaxManagerProxy runat="server" ID="proxy1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="mainPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <asp:Panel ID="mainPanel" runat="server" class="pad10">
        <telerikEx:InfoPanel runat="server" ID="infoPanel" />
        <table class="stab">
            <tr>
                <td>
                    服务项目名称：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbProjectName" Width="215" MaxLength="50"
                        EmptyMessage="服务项目名称" /><asp:RequiredFieldValidator runat="server" ID="rfProjectName"
                            ControlToValidate="rtbProjectName" ErrorMessage="服务项目名称" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    服务项目类别：
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlType" Width="215" />
                </td>
            </tr>
            <tr>
                <td>
                    乡镇街道：
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlStreet" Width="215" />
                </td>
            </tr>
            <tr>
                <td>
                    发起组织：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbOrganizor" Width="215" MaxLength="50" EmptyMessage="发起组织" />
                    <asp:RequiredFieldValidator runat="server" ID="rfOrganizor"
                            ControlToValidate="rtbOrganizor" ErrorMessage="发起组织" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    服务地点：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbServiceLocation" Width="215" MaxLength="50"
                        EmptyMessage="服务地点" />
                        <asp:RequiredFieldValidator runat="server" ID="rfServiceLocation"
                            ControlToValidate="rtbServiceLocation" ErrorMessage="服务地点" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    项目内容：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbProjectContent" Width="215" TextMode="MultiLine"
                        EmptyMessage="项目内容" />
                        <asp:RequiredFieldValidator runat="server" ID="rfProjectContent"
                            ControlToValidate="rtbProjectContent" ErrorMessage="项目内容" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    项目招募地点：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbRecruitmentLocation" Width="215" MaxLength="50"
                        EmptyMessage="项目招募地点" />
                </td>
            </tr>
            <tr>
                <td>
                    招募人数：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbRecruitmentAmmount" Width="215" MaxLength="6"
                        EmptyMessage="招募人数" />  
                </td>
            </tr>
            <tr>
                <td>
                    报名资格要求：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbRegistrationRequirement" TextMode="MultiLine"
                        Width="215" EmptyMessage="报名资格要求" />
                </td>
            </tr>
            <tr>
                <td>
                    报名截止时间：
                </td>
                <td>
                    <telerik:RadDatePicker runat="server" ID="rdpRegistrationDeadLine" Width="215" EmptyMessage="报名截止时间" EnableTyping="false" />
                        <asp:RequiredFieldValidator runat="server" ID="rfRegistrationDeadLine"
                            ControlToValidate="rdpRegistrationDeadLine" ErrorMessage="报名截止时间" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    联系电话：
                </td>
                <td>
                    <telerik:RadTextBox runat="server" ID="rtbContact" Width="215" MaxLength="50" EmptyMessage="联系电话" />
                        <asp:RequiredFieldValidator runat="server" ID="rfContact"
                            ControlToValidate="rtbContact" ErrorMessage="联系电话" Display="None" />
                </td>
            </tr>
            <tr>
                <td>
                    附件：
                </td>
                <td>
                    <telerik:RadUpload runat="server" ID="ruAttachment" />
                </td>
            </tr>
            <tr>
                <td>
                    <div align="center">
                        <a href="javascript:window.print();">
                            <img src="../../images/1.gif" width="64" height="22" border="0"></a></div>
                </td>
                <td class="ta-center">
                    <asp:Button ID="RadSave" runat="server" Text="保存" ToolTip="保存" CssClass="icon-text2 icon-save"
                        OnClick="RadSave_Click" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
